﻿using System.Web.Mvc;
using MRGSP.SurveyMaster.Core;

namespace MRGSP.SurveyMaster.WebUI.Controllers
{
    [Authorize]
    public class NavController : Controller
    {
        public ActionResult Index()
        {
            return User.IsInRole(The.Admin) ? View() : View("User");
        }
    }
}
